package com.example.huanhang.changzhouapp.bean;

import android.os.Parcel;
import android.os.Parcelable;

/**
 * Created by huanhang on 2018/8/24 0024.
 */

public class Pdf implements Parcelable {
    private String name;
    private String number;
    private String style;
    private String fenlei;
    private String PzDate;
    private String ShiSDate;
    private String version;
    private String updateNum;
    private String pdfPath;

    public String getPdfPath() {
        return pdfPath;
    }

    public void setPdfPath(String pdfPath) {
        this.pdfPath = pdfPath;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getNumber() {
        return number;
    }

    public void setNumber(String number) {
        this.number = number;
    }

    public String getStyle() {
        return style;
    }

    public void setStyle(String style) {
        this.style = style;
    }

    public String getFenlei() {
        return fenlei;
    }

    public void setFenlei(String fenlei) {
        this.fenlei = fenlei;
    }

    public String getPzDate() {
        return PzDate;
    }

    public void setPzDate(String pzDate) {
        PzDate = pzDate;
    }

    public String getShiSDate() {
        return ShiSDate;
    }

    public void setShiSDate(String shiSDate) {
        ShiSDate = shiSDate;
    }

    public String getVersion() {
        return version;
    }

    public void setVersion(String version) {
        this.version = version;
    }

    public String getUpdateNum() {
        return updateNum;
    }

    public void setUpdateNum(String updateNum) {
        this.updateNum = updateNum;
    }


    public Pdf() {
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(this.name);
        dest.writeString(this.number);
        dest.writeString(this.style);
        dest.writeString(this.fenlei);
        dest.writeString(this.PzDate);
        dest.writeString(this.ShiSDate);
        dest.writeString(this.version);
        dest.writeString(this.updateNum);
        dest.writeString(this.pdfPath);
    }

    protected Pdf(Parcel in) {
        this.name = in.readString();
        this.number = in.readString();
        this.style = in.readString();
        this.fenlei = in.readString();
        this.PzDate = in.readString();
        this.ShiSDate = in.readString();
        this.version = in.readString();
        this.updateNum = in.readString();
        this.pdfPath = in.readString();
    }

    public static final Creator<Pdf> CREATOR = new Creator<Pdf>() {
        @Override
        public Pdf createFromParcel(Parcel source) {
            return new Pdf(source);
        }

        @Override
        public Pdf[] newArray(int size) {
            return new Pdf[size];
        }
    };
}
